pp108 : Constructs Used in a Case Model

Constructs Used in a Case Model

This topic depicts and describes the various constructs that are used in a case model.

Case constructs are graphical representations used for designing a case model.

Table 1. Adding Constructs to the Case Model

Construct Name

Description

Start Case

This event is used to create a case without using states. You cannot use Initial State if you are using the Start Case event.

Activity

An activity is considered to be a step to be performed as part of case model execution. There are 3 different types of activities:

  1. Human task activity
  2. Business process activity
  3. Sub-case activity
    To add an activity to the case model, click on the case model toolbox.

Activity Cluster

Activity cluster is used to logically group a set of activities. It is used only as a visual representation and does not have any runtime relevance. Click on the case model toolbox to visually group activities.

Case Model

To add a sub-case to the current case model, click on the case model toolbox. Refer to Modeling Cases for more information.

State

Select to represent a state within a case model.

State Entry Event

Represents an event that is automatically raised when entering a state. This can be used only within a state.

Initial State

To indicate the beginning or start point for states, click on the case model toolbox. Start Case cannot be used when using the Initial State event. Activities or group of activities within a State are primarily said to be in Initial State.

Final State

To indicate the final or end point for states, click on the case model toolbox. Represents the final state (end) of a case model. When all activities or group of activities within a State are completed they are said to be in Final State. Upon reaching this state, the case model instances are automatically closed. All case instances must have Final State. This construct can be used only when modeling states within a case model.

Connectors

  • Automatic follow-up connector
  • Manual follow-up connector
  • Intermediate follow-up connector
  • Transition/State Transition

Select required connector type to link activities and states appropriately from the connector drop-down. You can align the connector text to the connector direction by right-clicking it and selecting Align Text.

  • Automatic follow-up connector: Select this connector to link activities that can be performed automatically one after another in a sequential order. For example, when activity A is completed, activity B is automatically released to the inbox of the case worker.

    Note:
    By default, the Automatic follow-up connector is applied to link activities and states.

  • Manual follow-up connector: Select this connector to link activities that need human intervention. For example, when activity A is completed, the case worker selects activity B for release to the case inbox.
  • Intermediate follow-up connector: Select this connector when you have linked activity or activities that need to be completed only after which the current activity can resume to completion. For example, while activity A is active, the case worker can release activity B and activity A is automatically suspended. Activity A is automatically resumed only after completion of activity B.
  • Transition/State Transition: Select this connector to move from one state to another. In the Transition properties, you can specify the situations or conditions, based on which the transition from one state to the next state can occur. This can only be used when modeling states within a case model.

    Note:
    You cannot associate the activities that are defined after a sub-process by linking them through any follow-up other than the automatic follow-up. Such activities are released only after the sub-process is complete.

Text

To add an annotation, comprising a border and a background color, to the model. You can use the annotation to add and display information specific to the model.

  • To set the properties of the annotation, right-click it and select Properties to open the property sheet of the annotation, and set the text to be displayed and the font size of the text.

Text Annotation

To add an annotation which can be linked to a construct. You can use the annotation to add and display information specific to the construct.

  • The annotation comprises a border and a connector that links it to the construct.
  • To set the properties of the annotation, right-click it and select Properties to open the property sheet of the annotation, and set the text to be displayed and the font size of the text.

Transparent Text

To add a transparent annotation to the model. You can use the annotation to add and display information specific to the model.

  • The annotation does not contain a border or background color.
  • To set the properties of the annotation, right-click it and select Properties to open the property sheet of the annotation, and set the text to be displayed and the font size of the text.

Document Received Event

Represents an event that occurs when a certain document type event is received. It is fired when a document of a certain attachment type is attached to the case instance during execution. This will trigger all the associated activities and assign them to the appropriate targets.

Close Case

This construct denotes the end of a case model. Click on the case toolbox to add the construct. This construct can be used only in combination with Start case construct.